import request from '@/utils/request'

// 站点数据
export function getStationInfo(data) {
  return request({
    url: '/admin/index/getStationInfo',
    method: 'post',
    data
  })
}

// 运维概况
export function getOperationInfo(data) {
  return request({
    url: '/admin/index/getOperationInfo',
    method: 'post',
    data
  })
}

// 碳排统计
export function getYearCarbon(data) {
  return request({
    url: '/admin/index/getYearCarbon',
    method: 'post',
    data
  })
}

// 日用电量
export function getDayElectric(data) {
  return request({
    url: '/admin/index/getDayElectric',
    method: 'post',
    data
  })
}
